#include <stdio.h>
int main(){
	int a[3][4]={1,3,5,7,9,11,13,15,17,18,21,23};
	int*p;
	for(p=a[0];p<a[0]+12;p++){
		if((p-a[0])%4==0) printf("\n");
		printf("%4d",*p);
	}
	printf("\n");
	return 0;
}